package com.hjs.mapper;

import com.hjs.bean.*;

import java.util.List;

/**
 * @author violetfreesia
 * @date 2020/06/17
 */
public interface ViewMapper {
    List<DailyInspecteRecordingView> getOneDailyInspecteRecordingViewById(int dailyInspecteId);

    DailyInspectionDamageNoticeView getOneDailyInspectionDamageNoticeViewById(int damageNoticeId);

    List<PavementDamageView> getPavementDamageViewById(int pavementDamageComId);

    PavementFlatnessView getOnePavementFlatnessViewById(int flatnessID);

    List<RegularInspectionView> getRegularInspectionViewByDepartmentId(int departmentId);

    List<RegularInspectionView> getAllRegularInspectionView();

    List<DailyInspecteRecordingView> getAllDailyInspecteRecordingView();

    List<DailyInspectionDamageNoticeView> getAllDailyInspectionDamageNoticeView();

    List<DailyInspectionDamageNoticeView> getAllDailyInspectionDamageNoticeViewByDepartmentId(int departmentId);

    List<DailyInspectionDamageNoticeView> getAllPassDailyInspectionDamageNoticeByDepartmentId(int departmentId);

    List<PavementDamageView> getAllPavementDamageView();

    List<PavementFlatnessView> getAllPavementFlatnessView();

    List<UserView> getAllUserView();

    UserView getOneUserViewById(String id);
}
